!function t(e,n,o){function r(s,a){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var h=n[s]={exports:{}};e[s][0].call(h.exports,function(t){var n=e[s][1][t];return r(n?n:t)},h,h.exports,t,e,n,o)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s1&&n[1]||""}var o,r,i,s=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),l=n(/edge\/(\d+(\.\d+)?)/i),u=n(/version\/(\d+(\.\d+)?)/i),h=/tablet/i.test(t),c=!h&&/[^-]mobi/i.test(t);/opera|opr/i.test(t)?o={name:"Opera",opera:e,version:u||n(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(t)?(o={name:"Windows Phone",windowsphone:e},l?(o.msedge=e,o.version=l):(o.msie=e,o.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?o={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?o={name:"Microsoft Edge",msedge:e,version:l}:/chrome|crios|crmo/i.test(t)?o={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?(o={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},u&&(o.version=u)):/sailfish/i.test(t)?o={name:"Sailfish",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?o={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(t)?(o={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(o.firefoxos=e)):/silk/i.test(t)?o={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:a?o={name:"Android",version:u}:/phantom/i.test(t)?o={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?o={name:"BlackBerry",blackberry:e,version:u||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(t)?(o={name:"WebOS",webos:e,version:u||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(o.touchpad=e)):o=/bada/i.test(t)?{name:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:/tizen/i.test(t)?{name:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||u}:/safari/i.test(t)?{name:"Safari",safari:e,version:u}:{name:n(/^(.*)\/(.*) /),version:(r=/^(.*)\/(.*) /,i=t.match(r),i&&i.length>1&&i[2]||"")},!o.msedge&&/(apple)?webkit/i.test(t)?(o.name=o.name||"Webkit",o.webkit=e,!o.version&&u&&(o.version=u)):!o.opera&&/gecko\//i.test(t)&&(o.name=o.name||"Gecko",o.gecko=e,o.version=o.version||n(/gecko\/(\d+(\.\d+)?)/i)),o.msedge||!a&&!o.silk?s&&(o[s]=e,o.ios=e):o.android=e;var f="";o.windowsphone?f=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):s?f=(f=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?f=n(/android[ \/-](\d+(\.\d+)*)/i):o.webos?f=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):o.blackberry?f=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):o.bada?f=n(/bada\/(\d+(\.\d+)*)/i):o.tizen&&(f=n(/tizen[\/\s](\d+(\.\d+)*)/i)),f&&(o.osversion=f);var d=f.split(".")[0];return h||"ipad"==s||a&&(3==d||4==d&&!c)||o.silk?o.tablet=e:(c||"iphone"==s||"ipod"==s||a||o.blackberry||o.webos||o.bada)&&(o.mobile=e),o.msedge||o.msie&&o.version>=10||o.chrome&&o.version>=20||o.firefox&&o.version>=20||o.safari&&o.version>=6||o.opera&&o.version>=10||o.ios&&o.osversion&&o.osversion.split(".")[0]>=6||o.blackberry&&o.version>=10.1?o.a=e:o.msie&&o.version<10||o.chrome&&o.version<20||o.firefox&&o.version<20||o.safari&&o.version<6||o.opera&&o.version<10||o.ios&&o.osversion&&o.osversion.split(".")[0]<6?o.c=e:o.x=e,o}var e=!0,n=t("undefined"!=typeof navigator?navigator.userAgent:"");return n.test=function(t){for(var e=0;e1)for(var n=1;n1&&(o=n[0]+"@",t=n[1]),o+i((t=t.replace(T,".")).split("."),e).join(".")}function a(t){for(var e,n,o=[],r=0,i=t.length;r=55296&&e<=56319&&r65535&&(e+=R((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=R(t)}).join("")}function u(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function h(t,e,n){var o=0;for(t=n?E(t/x):t>>1,t+=E(t/e);t>j*b>>1;o+=_)t=E(t/j);return E(o+(j+1)*t/(t+k))}function c(t){var e,n,o,i,s,a,u,c,f,d,p,m=[],g=t.length,v=0,k=O,x=C;for((n=t.lastIndexOf(I))<0&&(n=0),o=0;o=128&&r("not-basic"),m.push(t.charCodeAt(o));for(i=n>0?n+1:0;i=g&&r("invalid-input"),((c=(p=t.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:_)>=_||c>E((w-v)/a))&&r("overflow"),v+=c*a,!(c<(f=u<=x?y:u>=x+b?b:u-x));u+=_)a>E(w/(d=_-f))&&r("overflow"),a*=d;x=h(v-s,e=m.length+1,0==s),E(v/e)>w-k&&r("overflow"),k+=E(v/e),v%=e,m.splice(v++,0,k)}return l(m)}function f(t){var e,n,o,i,s,l,c,f,d,p,m,g,v,k,x,S=[];for(g=(t=a(t)).length,e=O,n=0,s=C,l=0;l=e&&mE((w-n)/(v=o+1))&&r("overflow"),n+=(c-e)*v,e=c,l=0;lw&&r("overflow"),m==e){for(f=n,d=_;!(f<(p=d<=s?y:d>=s+b?b:d-s));d+=_)x=f-p,k=_-p,S.push(R(u(p+x%k,0))),f=E(x/k);S.push(R(u(f,0))),s=h(n,v,o==i),n=0,++o}++n,++e}return S.join("")}var d="object"==typeof n&&n&&!n.nodeType&&n,p="object"==typeof e&&e&&!e.nodeType&&e,m="object"==typeof t&&t;m.global!==m&&m.window!==m&&m.self!==m||(o=m);var g,v,w=2147483647,_=36,y=1,b=26,k=38,x=700,C=72,O=128,I="-",S=/^xn--/,L=/[^\x20-\x7E]/,T=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=_-y,E=Math.floor,R=String.fromCharCode;if(g={version:"1.4.1",ucs2:{decode:a,encode:l},decode:c,encode:f,toASCII:function(t){return s(t,function(t){return L.test(t)?"xn--"+f(t):t})},toUnicode:function(t){return s(t,function(t){return S.test(t)?c(t.slice(4).toLowerCase()):t})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(d&&p)if(e.exports==d)p.exports=g;else for(v in g)g.hasOwnProperty(v)&&(d[v]=g[v]);else o.punycode=g}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,n){"use strict";function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,n,i){e=e||"&",n=n||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var u=t.length;l>0&&u>l&&(u=l);for(var h=0;h=0?(c=m.substr(0,g),f=m.substr(g+1)):(c=m,f=""),d=decodeURIComponent(c),p=decodeURIComponent(f),o(s,d)?r(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],5:[function(t,e,n){"use strict";function o(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o",'"',"`"," ","\r","\n","\t"],p=["{","}","|","\\","^","`"].concat(d),m=["'"].concat(p),g=["%","/","?",";","#"].concat(m),v=["/","?","#"],w=255,_=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},k={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},C=t("querystring");o.prototype.parse=function(t,e,n){if(!u.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),r=-1!==o&&o127?"x":R[U];if(!q.match(_)){var D=j.slice(0,L),M=j.slice(L+1),P=R.match(y);P&&(D.push(P[1]),M.unshift(P[2])),M.length&&(s="/"+M.join(".")+s),this.hostname=D.join(".");break}}}this.hostname.length>w?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var B=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+B,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!b[d])for(L=0,E=m.length;L0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),n.search=t.search,n.query=t.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!b.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=b.slice(-1)[0],I=(n.host||t.host||b.length>1)&&("."===O||".."===O)||""===O,S=0,L=b.length;L>=0;L--)"."===(O=b[L])?b.splice(L,1):".."===O?(b.splice(L,1),S++):S&&(b.splice(L,1),S--);if(!_&&!y)for(;S--;S)b.unshift("..");!_||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),I&&"/"!==b.join("/").substr(-1)&&b.push("");var T,A=""===b[0]||b[0]&&"/"===b[0].charAt(0);return C&&(n.hostname=n.host=A?"":b.length?b.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),(_=_||n.host&&b.length)&&!A&&b.unshift(""),b.length?n.pathname=b.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":8,punycode:3,querystring:6}],8:[function(t,e,n){"use strict";e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}],9:[function(t,e,n){(function(n,o){var r,i,s,a;a=t("url"),i=100,s={OLARK_HOST:function(t){var e;return/^https?:\/\//.test(t)||(t="http://"+t),e=a.parse(t).host,/\.olark\.net(\:\d+)?$/.test(e)||(e=null),e},OLARK_DEBUG:function(t){return"true"===t||!0===t||"false"!==t&&!1!==t&&void 0}},r=function(){function t(t){null==t&&(t={}),this._logger=t.logger||("undefined"!=typeof window&&null!==window?window.console:void 0),this._olark=t.olark||("undefined"!=typeof window&&null!==window?window.olark:void 0),this._processEnv=t.processEnv||n.env,this._localStorage=null;try{this._localStorage=t.localStorage||o.localStorage}catch(t){}this._logger&&!this._localStorage&&this._logger.error("localStorage unavailable"),(t.document||"undefined"!=typeof document&&null!==document)&&(this._document=t.document||document)}return t.prototype.getOlarkHost=function(){var t,e,n,o;null!=(e=null!=(n=this._olark)&&null!=(o=n._)?o.l:void 0)&&(/^https?:\/\//.test(e)||(e="http://"+e));try{t=a.parse(e).host}catch(e){t=null}return this.get("OLARK_HOST")||this._processEnv.HOST||t||"static.olark.com"},t.prototype.get=function(t){var e,n;if(e=s[t])return(n=null!=(n=this._getKeyFromQuery(t))?n:this._getKeyFromStorage(t))&&(n=e(n)),this._cacheOrRemoveValue(t,n),n},t.prototype._getKeyFromQuery=function(t){var e,n,o;if(this._document)return o=null,e=new RegExp(t+"=([^&]*)"),(n=this._document.location.search.match(e))&&(o=this._convertValue(n[1])),o},t.prototype._getKeyFromStorage=function(t){var e;return null!=(e=this._localStorage)?e.getItem(t):void 0},t.prototype._cacheOrRemoveValue=function(t,e){var n,o,r;return null!=e?(e.length>i&&(null!=(n=this._logger)&&n.warn("environment variable cannot exceed "+i+" bytes, trimming value"),e=e.toString().slice(0,i)),null!=(o=this._localStorage)?o.setItem(t,e):void 0):null!=(r=this._localStorage)?r.removeItem(t):void 0},t.prototype._convertValue=function(t){return/^(true|false)$/.test(t)&&(t="true"===t),/^null$/.test(t)&&(t=null),t},t}(),e.exports=r}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2,url:7}],10:[function(t,e,n){(function(n){var o,r,i,s,a;a=function(t){var e;try{return t.location.origin||(e=t.location.port,t.location.origin=t.location.protocol+"//"+t.location.hostname+(null!=e?e:":"+e||"")),(null==t||!t.location.origin.match(/static\.olark\.com$/))&&(null!=t&&t.parent.document,!0)}catch(t){return!1}},i=(r=function(t){if(t=t||n.window)return a(t)&&t!==n.window.top?(null!=t?t.parent.olark:void 0)?t.parent:r(t.parent):t})(),s=null,o=function(){var e;return s||(e=t("./Logger"),s=e.getDefaultLogger(n.window)),s},e.exports={getOlark:function(){return null!=i?i.olark:void 0},getWindow:function(){return i},getDocument:function(){return null!=i?i.document:void 0},getLocation:function(){return null!=i?i.location:void 0},getLocationWithFallbackWarning:function(){var t;return(null!=i?i.location:void 0)||(o().warn("using fallbacks for host window location"),(null!=(t=n.window.parent)?t.location:void 0)||n.window.location)},getProtectedWindow:function(){return n.window},manuallySetHostWindow:function(t){return i=t}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./Logger":12}],11:[function(t,e,n){var o,r=function(t,e){return function(){return t.apply(e,arguments)}},i={}.hasOwnProperty;o=function(){function t(t){this._assign=r(this._assign,this),this._window=t.window||window,this._document=t.document||this._window.document,this._olark=t.olark||this._window.olark,this._data={},this._data.version=this._assign(t.version,function(){var t,e;return(null!=(t=this._olark)&&null!=(e=t._)?e.chatboxBucketPostfix:void 0)||"framestore"}),this._data.location=this._assign(t.location,function(){return this._document.location.href.toString().slice(0,50)}),this._data.referrer=this._assign(t.referrer,function(){return this._document.referrer.toString().slice(0,15)}),this._data.message=this._assign(t.message,function(){return null}),this._data.stack=this._assign(t.stack,function(){return null}),this._data.tabname=this._assign(t.tabName,function(){return this._getTabName()}),this._data.conversation_id=this._assign(t.conversationId,function(){return this._getConversationId()}),this._data.visitor_id=this._assign(t.visitorId,function(){return this._getVisitorId()}),this._data.site_id=this._assign(t.siteId,function(){return this._getSiteId()}),this._data.bucket=this._assign(t.bucket,function(){return this._getBucket()}),this._data.level=this._assign(t.level,function(){return"info"}),this._data.timestamp=this._assign(t.timestamp,function(){return+new Date}),this._data.properties=this._assign(t.properties,function(){return{}}),this._data.recent_logs=this._assign(t.recentLogs,function(){return[]})}return t.prototype._assign=function(t,e){switch(t){case null:return null;default:return null!=t?t:e.bind(this)()}},t.prototype._getTabName=function(){var t;return(t=this._window).name||(t.name=Math.random().toString().replace("0.","oktab")),/^oktab/.test(this._window.name)?this._window.name:"unknown"},t.prototype._getConversationId=function(){var t,e;return null!=(t=this._olark)&&null!=(e=t._)?e.conversationId:void 0},t.prototype._getVisitorId=function(){var t,e;return null!=(t=this._olark)&&null!=(e=t._)?e.visitorId:void 0},t.prototype._getSiteId=function(){var t,e;return null!=(t=this._olark)&&null!=(e=t._)?e.siteId:void 0},t.prototype._getBucket=function(){var t,e;return null!=(t=this._olark)&&null!=(e=t._)?e.chatboxBucket:void 0},t.prototype.simplify=function(){return{bucket:this._data.bucket,conversation_id:this._data.conversation_id,level:this._data.level,location:this._data.location,message:this._data.message,referrer:this._data.referrer,tabname:this._data.tabname,timestamp:String(new Date(this._data.timestamp)),version:this._data.version}},t.prototype.getLevel=function(){return this._data.level},t.prototype.getMessage=function(){return this._data.message},t.prototype.getStack=function(){return this._data.stack},t.prototype.getEncodedLogEvent=function(){var t,e,n,o,r;for(t in n=[],o=this._data)i.call(o,t)&&null!=this._data[t]&&""!==this._data[t]&&(r=this._data[t],"properties"!==t&&"recent_logs"!==t||(r=JSON.stringify(r)),e=t+"="+encodeURIComponent(r),n.push(e));return n.join("&")},t}(),e.exports=o},{}],12:[function(t,e,n){(function(n){var o,r,i,s,a,l,u,h,c,f,d,p,m,g,v,w,_=function(t,e){return function(){return t.apply(e,arguments)}};s=t("./Env"),u=t("./LogMessage"),a=t("./HostPage"),g=t("bowser"),o=100,m=100,c=4,f=10,p=(l=["debug","info","warn","error","track","count"])[2],r=l[0],i=.15,d=10,w=new s,v=null,h=function(){function t(t){var e,n,o,s,u,h,c,f,d;if(this._sendCount=_(this._sendCount,this),this._sendTrack=_(this._sendTrack,this),this._totalLogCount=0,this._timestampOfFirstLogCallInBatch=+new Date,this._totalLogCountInBatch=0,this._recentLogs=[],f=null,d=!1,((null!=t?t.window:void 0)||"undefined"!=typeof window&&null!==window)&&(this._window=(null!=t?t.window:void 0)||a.getWindow(),w.get("OLARK_DEBUG")&&(f=r,d=!0)),this._samplingRates={},"number"==typeof(null!=t?t.samplingRate:void 0))for(e=0,s=l.length;ed&&this._recentLogs.shift(),(e.showInConsole||this._shouldShowInConsole()&&null==e.showInConsole)&&this._logToConsole(o),!e.skipSend&&(e.forceSend||this._shouldSendMessage(o)))return this._send(o)}catch(t){if(n=t,this._isDevelopment())return console.error(n)}},t.prototype._isDevelopment=function(){return!(null==this._window||!this._window.location)&&/olark\.net$/.test(this._window.location.hostname)},t.prototype._shouldShowInConsole=function(t){return this._isDevelopment()||this._showInConsole},t.prototype._shouldSendMessage=function(t){var e;return e=Math.random()<=this._samplingRates[t.getLevel()],l.indexOf(t.getLevel())>=l.indexOf(this._logLevel)&&e},t.prototype._deferSendCount=function(t,e){if(!((null!=e?e.sendOnce:void 0)&&this._sentCountKeys.indexOf(t)>=0))return this._countDeferTimeout&&clearTimeout(this._countDeferTimeout),this._countKeys.push({key:t,options:e}),this._sentCountKeys.push(t),n.nextTick(this._sendCount)},t.prototype._deferSendTrack=function(t,e,o){return this._trackDeferTimeout&&clearTimeout(this._trackDeferTimeout),this._trackKeys.push({key:t,value:e,options:o}),n.nextTick(this._sendTrack)},t.prototype._sendTrack=function(){var t,e,n,o,r,i,s,a,l,u;if(this._eventDeferTimeout=null,!(this._trackKeys.length<=0)){for(r="",t=!1,e=0,o=(s=this._trackKeys).length;ec)return;this._totalLogCountInBatch=0,this._timestampOfFirstLogCallInBatch=e}if(this._totalLogCount++,!(this._totalLogCount>f))return o=t.getEncodedLogEvent(),this._isDevelopment()?void 0:((n=new this._window.Image).src="//log.olark.com/jslog/log.png?"+o,n.onload=function(){return n=null})},t.prototype._logToConsole=function(t){var e,n,o;if(null!=(n=this._window)?n.console:void 0){e=t.getLevel();try{return"count"===e||"track"===e?this._window.console.debug("[olark]["+e+"]",t.getMessage()):t.getStack()?this._window.console[e]("[olark]["+e+"]",t.getMessage(),t.getStack()):this._window.console[e]("[olark]["+e+"]",t.getMessage())}catch(n){return null!=(o=this._window.console)?o.log("[olark]["+e+"]",t.getMessage()):void 0}}},t.getDefaultLogger=function(e){return v||(v=new t({window:e,samplingRate:{debug:0,info:0,warn:.25,error:.25,track:.15,count:.15}})),v},t}(),e.exports=h}).call(this,t("_process"))},{"./Env":9,"./HostPage":10,"./LogMessage":11,_process:2,bowser:1}],13:[function(t,e,n){var o=t("./HostPage"),r=t("../chatbox/LogMessage"),i=function(t){t&&t.hasOwnProperty("window")?t.hasOwnProperty("window")||(this._window=t.window):this._window=o.getWindow()};i.prototype.log=function(t){this._composeAndSend(t)},i.prototype.error=function(t){this._composeAndSend(t,!0)},i.prototype._composeAndSend=function(t,e){var n={bucket:"loader",level:"pre-load",message:t};e&&this._window.console.error(t);var o=new r(n);this._send(o)},i.prototype._send=function(t){var e=t.getEncodedLogEvent(),n=new this._window.Image;n.src="//log.olark.com/jslog/log.png?"+e,n.onload=function(){n=null}},e.exports=i},{"../chatbox/LogMessage":11,"./HostPage":10}],14:[function(t,e,n){var o,r,i;o=[/^static.olark.com$/,/^.+\.olark\.net:900[1-2]$/,/^localhost:900[1-2]$/,/((^127\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^192\.168\.)).+:900[1-2]/],i=function(t){var e,n,r,i,s,a;i=null;try{i=localStorage.getItem("OLARK_HOST")}catch(t){}for(r=!1,s=0,a=o.length;s",t=new Blob([s],{type:"text/html"}),o.src=URL.createObjectURL(t),o.srcdoc=s,e.body.appendChild(o);if((r+=1)>100)throw new Error("[olark] Could not access document.body when trying to write the olark iframe");return setTimeout(i,100)})()},e.exports={fif:r,getApplicationUrl:i}},{}],15:[function(t,e,n){var o,r,i,s,a;r=!1,o=/OLARK_DEBUG=true/g,i="Olark is currently undergoing scheduled maintenance. To see up-to-date status visit: http://status.olark.com", s=function(t){var e;if("undefined"!=typeof window&&null!==window&&null!=(e=window.console)?e.warn:void 0)return console.warn("[olark]",t)},a=function(t){var e;return r?document.location.search&&(e=document.location.search.split("?").pop(),o.test(e))?(s("Loading jsclient while in maintenance mode"),t()):s(i):t()},e.exports={logToConsoleAndBootIfAllowed:a}},{}],16:[function(t,e,n){var o,r,i,s,a;o=t("../chatbox/HostPage"),s=t("./friendlyIframe"),i=t("./olark-shim").createOlarkShim,r=t("../chatbox/MiniLogger"),a=new r,e.exports=function(t,e){var n,o,r;return n=function(){var n,o,r,i;for(o=0,r=(i=e.querySelectorAll("[data-olark]")).length;o